import request from "@/request/request";

/* 获取验证码的接口 */
export const getCodeAPI = (phone) => {
    return request({
        url: `/user/passport/sendCode/${phone}`,
        method: "GET",
    })
}

/* 注册的接口 */
export const registerAPI = (data) => {
  return request({
      url:"/user/passport/register",
      method:"POST",
      data
  })
}
